package com.ruben.simpleboot.pojo.common;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruben.simpleboot.adapter.RecycleBinAdapter;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author VampireAchao
 * @since 2022/10/9 18:26
 */
@Data
public abstract class BaseRecycleEntity {
    /**
     * 删除时间
     */
    private LocalDateTime gmtRecycled;
    /**
     * 删除人
     */
    private Long recyclerId;
    /**
     * 序号
     */
    @TableField(exist = false)
    private Long recycleSort;
    /**
     * 名称
     */
    @TableField(exist = false)
    private String recycleName;
    /**
     * 位置
     */
    @TableField(exist = false)
    private String recyclePosition;

    /**
     * 适配器
     */
    @TableField(exist = false)
    private RecycleBinAdapter<?> adapter;
}
